
##  初始化营销解释 0s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/field/initmarketExplain -X POST -H 'Content-type: application/json' -d '{"xbbCode":"123456","corpid":"ding66041eb1c6df73f535c2f4657eb6378f","userId":"1","platform":"web","frontDev":"1", "enable":1}'

# corpid=0的解释处理，非经销商和经销商模板：应收款、回款单、预收款余额、销项发票、回款计划、在线支付流水、对账单、信用管理，及资金paas化其他收入单、其他支出单、资金调拨单相关
# 【需确保】：tb_paas_form_explain 表内已经增加distributorMark字段
# 编写者 zcp 0s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/field/initDefaultExplain -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web", "businessList": [701,702,712,901,5301,5401,5403,2401, 5710,5750,5800], "distributorBusinessList": [701,702,712,901,5301,5401,5403,5600,401,501,5510,5520,5530,5540]}'

#  仓库新增发货地址字段 【脚本缺少开始 中间进度 结束 耗时等信息输出】 132s 116
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/warehouse/repairWarehouseExplain -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid": "1","userId" : "1","platform":"web", "corpidList":[]}'

# 销售出库单、退货入库单 xinpeng.jiang
# 销售出库单新增产品合计、其他费用、出库金额字段  219s  282 252
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/contarct/outstock/addExplainOfMoney -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 销售出库单刷老数据   1300s   1484s  163s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/contarct/outstock/addDataOfMoney -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 销售退货入库单新增产品退货单价合计、其他费用、退货入库金额字段  205s  257  235s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/refund/instock/addExplainOfMoney -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 销售退货入库单刷老数据  149s  191s  155s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/refund/instock/addDataOfMoney -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'

################
# 添加产品解释 by郑风 【先给测试公司刷】0s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/distributor/product/addProductExplain -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","corpidList":["ding66041eb1c6df73f535c2f4657eb6378f","ding0064986624e3b83b35c2f4657eb6378f","dinga93c84f4d89688bf35c2f4657eb6378f","ding18b527cbc48f835535c2f4657eb6378f","ding45b220254ed2e97335c2f4657eb6378f","ding6abd8692b59077b7f2c783f7214b6d69"],"platform":"web","frontDev":"1","xbbCode":"123456"}'
# 刷产品销量、上架时间、spu价格 by 郑风 【先给测试公司刷】3s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/distributor/product/generateProductData -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","corpidList":["ding66041eb1c6df73f535c2f4657eb6378f","ding0064986624e3b83b35c2f4657eb6378f","dinga93c84f4d89688bf35c2f4657eb6378f","ding18b527cbc48f835535c2f4657eb6378f","ding45b220254ed2e97335c2f4657eb6378f","ding6abd8692b59077b7f2c783f7214b6d69"],"platform":"web","frontDev":"1","xbbCode":"123456"}'
# 同步产品es by郑风 先刷测试公司数据：测试Misaki: ding66041eb1c6df73f535c2f4657eb6378f 1s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataInit -X POST -H 'Content-type: application/json' -d '{"corpid":"ding66041eb1c6df73f535c2f4657eb6378f","userId":"1","businessType": 2401,"byCorpid":1,"saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456"}'
# 同步产品es by郑风 先刷测试公司数据：测试lc5: ding0064986624e3b83b35c2f4657eb6378f 0s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataInit -X POST -H 'Content-type: application/json' -d '{"corpid":"ding0064986624e3b83b35c2f4657eb6378f","userId":"1","businessType": 2401,"byCorpid":1,"saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456"}'
# 同步产品es by郑风 先刷测试公司数据：质量保证组Pro组织：dinga93c84f4d89688bf35c2f4657eb6378f 1s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataInit -X POST -H 'Content-type: application/json' -d '{"corpid":"dinga93c84f4d89688bf35c2f4657eb6378f","userId":"1","businessType": 2401,"byCorpid":1,"saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456"}'
# 同步产品es by郑风 先刷测试公司数据：尖刀小分队：ding18b527cbc48f835535c2f4657eb6378f 0s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataInit -X POST -H 'Content-type: application/json' -d '{"corpid":"ding18b527cbc48f835535c2f4657eb6378f","userId":"1","businessType": 2401,"byCorpid":1,"saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456"}'
# 同步产品es by郑风 先刷测试公司数据：给皇上请安：ding45b220254ed2e97335c2f4657eb6378f 0s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataInit -X POST -H 'Content-type: application/json' -d '{"corpid":"ding45b220254ed2e97335c2f4657eb6378f","userId":"1","businessType": 2401,"byCorpid":1,"saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456"}'
# 同步产品es by郑风 先刷测试公司数据：娃哈哈的大艳：ding6abd8692b59077b7f2c783f7214b6d69 0s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/esInit/formDataInit -X POST -H 'Content-type: application/json' -d '{"corpid":"ding6abd8692b59077b7f2c783f7214b6d69","userId":"1","businessType": 2401,"byCorpid":1,"saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456"}'

